package cn.iocoder.yudao.module.wms.dal.mysql.rdrecord11;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.wms.dal.dataobject.rdrecord11.Rdrecords11DO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 材料出库子 Mapper
 *
 * @author 曾劲松
 */
@Mapper
public interface Rdrecords11Mapper extends BaseMapperX<Rdrecords11DO> {

    default List<Rdrecords11DO> selectListByOrderId(Long orderId) {
        return selectList(Rdrecords11DO::getOrderId, orderId);
    }

    default int deleteByOrderId(Long orderId) {
        return delete(Rdrecords11DO::getOrderId, orderId);
    }

}
